<template>
	<view>
		<!-- 首页百年老栈组件 -->
		<!-- 组件外部容器 -->
		<view class="statistic-container">
			<!-- 组件内部容器 -->
			<view class="statistic-time-container">
				<text class="statistic-time-text">{{year}}年</text>
				<view class="statistic-time-time-container">
					<image class="statistic-time-icon" src="../../static/icons/shijian.png"></image>
					<text class="statistic-time-time">百年老栈还有</text>
				</view>
			</view>
			<view class="statistic-article-container">
				<text class="statistic-article-text">{{articleTotal}}</text>
				<view class="statistic-article-article-container">
					<image class="statistic-article-icon" src="../../static/icons/wenzhang.png"></image>
					<text class="statistic-article-article">老栈文章数</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props : [
			'articleTotal',
			"year"
		],
		methods: {
			
		}
	}
</script>

<style>
@import url('./index.css')
</style>
